Skip to content

Comments

feat: 내가 작성한 유저픽 게시글 목록 조회 api 추가(#115)#120

Merged
hisonghy merged 1 commit intodevelopfrom
feature/load-my-posts-115
May 16, 2025
Merged

feat: 내가 작성한 유저픽 게시글 목록 조회 api 추가(#115)#120
hisonghy merged 1 commit intodevelopfrom
feature/load-my-posts-115

Conversation

@hisonghy
Copy link
Member

🌱 관련 이슈

📌 작업 내용 및 특이사항

  • 마이페이지 > 작성한 게시글 > 더보기 버튼 클릭 시 실행될 내가 작성한 유저픽 게시글 목록 조회 api 구현했습니다
  • 무한 스크롤, 더보기 방식으로 구현해 Page 객체 대신 Slice 객체를 사용해 요청한 페이지 번호의 다음 페이지에 데이터가 존재하는지 여부를 함께 응답하도록 구현했습니다 (hasNext 필드)
  • page(페이지 번호), size(페이지당 개수) 의 defaultValue를 각각 0, 5로 설정해 각 쿼리 파라미터를 요청하지 않아도 예외가 발생하지 않도록 구성했습니다. 대신 page < 0 이거나 size < 1 or size > 10 인 경우 예외처리 되도록 구성했습니다

🔍 참고사항

📚 기타

@hisonghy hisonghy requested a review from myqewr May 12, 2025 09:10
@hisonghy hisonghy self-assigned this May 12, 2025
@hisonghy hisonghy added the ⚡ feature 새로운 기능 추가 및 수정 label May 12, 2025
@hisonghy hisonghy merged commit b607fce into develop May 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚡ feature 새로운 기능 추가 및 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚡ 작성한 게시글 목록 조회 API 구현

2 participants